package entity;

public class Course {
    private String id;
    private String name;
    private String teacherName;

    public Course(String id, String name, String teacherName) {
        this.id = id;
        this.name = name;
        this.teacherName = teacherName;
    }

    public String getId() {
        return id;
    }

    @Override
    public String toString() {
        return "课程：" + name + " | 教师：" + teacherName;
    }
}